KERNELDIR = /lib/modules/$(shell uname -r)/build
PWD = $(shell pwd)


obj-m := kblock.o
kblock-objs = kblock_main.o kblock_proc.o kblock_debugfs.o kblock_send.o kblock_receive.o
all:
	$(MAKE) -C $(KERNELDIR) M=$(PWD) modules
clean:
	rm -f *.ko *.o module* Module* *.mod.*
